<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>表模型库概览</title>
<link href="../../static/css/normalize.css?twitterbutton" rel="stylesheet" type="text/css"/>
<link href="../../static/css/tricks.css?twitterbutton" rel="stylesheet" type="text/css"/>
<link href="../../static/css/elusive-webfont.css?twitterbutton" rel="stylesheet" type="text/css"/>
<link href="../../static/css/codemirror.css?twitterbutton" rel="stylesheet" type="text/css"/>
<link href="../../static/css/screen.css?twitterbutton" rel="stylesheet" type="text/css"/>
<link href="../../static/easyui/themes/bootstrap/easyui.css" rel="stylesheet" type="text/css"/>
<link href="../../static/plugi/easyui/themes/icon.css" rel="stylesheet" type="text/css"/>
<script src="../../static/easyui/jquery.min.js" type="text/javascript"></script>
<script src="../../static/easyui/jquery.easyui.min.js" type="text/javascript" charset="utf-8"></script>
<script src="../../static/easyui/jquery.easyui.ext.js" type="text/javascript" charset="utf-8"></script>
<script src="../../static/easyui/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.util.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.jquery.ajax.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.easyui.util.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.menu.js" type="text/javascript"></script>
<script src="../../static/js/libs/jquery.cookie.min.js" type="text/javascript"></script>
<a href="" target="_blank" id="commonLink" name="commonLink"></a>
<script languange="javascript">
	var topWin = window;
	function addTab(title, url){
	    if ($('#tt').tabs('exists', title)){
	        $('#tt').tabs('select', title);
	    } else {
	        var content = '<iframe scrolling="auto" frameborder="0"  src="'+url+'" style="width:100%;height:100%;"></iframe>';
	        $('#tt').tabs('add',{
	            title:title,
	            content:content,
	            closable:true
	        });
	    }
	}

	$(function() {
		$('#displayUserName').text($.cookie('signUserName'));
	});

</script>
</head>
<body class="easyui-layout">
<div data-options="region:'north',title:''" style="height: 60px; background: #F4F4F4;">
		<table>
			<tr>
				<td>
					&nbsp;模型库：[]&nbsp;
					当前DBMS：
					&nbsp;<a class="easyui-linkbutton" href="javascript:void(0);" onclick="updateBase();" iconCls="icon-edit" plain="true">修改名称</a>
					&nbsp;<a class="easyui-linkbutton" href="javascript:void(0);" onclick="updateDBMS();" iconCls="icon-edit" plain="true">修改DBMS</a>
					&nbsp;<a href="#" class="easyui-menubutton" data-options="menu:'#exportMenu',iconCls:'icon-tip'" plain="true">导出为文档</a>					
				</td>
			</tr>
			<tr>
				<td>
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;表模型：个
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;视图：个
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;同义词：个
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;存储过程：个
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;函数：个
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;序列：个
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;数据条目：个
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;数据选项：个
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;关系图：0个
				</td>
			</tr>
		</table>
</div>
<div data-options="region:'center',split:false" style="width:100%;">
	<table id="dg1" class="easyui-datagrid" title="" style="width:100%;height:100%"
			data-options="singleSelect:true,collapsible:true,url:'../../api/project/tm/logs?projectId=' + $.getUrlParam('projectId'),method:'post'"
			toolbar="#tb"
		title="Load Data" 
		rownumbers="true" pagination="true" pageSize="20">
		<thead>
			<tr>
				<th data-options="field:'logRecordTime',resizable:true" width="13%">日志时间</th>
				<th data-options="field:'operUserid',resizable:true" width="10%">操作人</th>
				<th data-options="field:'clientIp',resizable:true" width="10%">客户端IP</th>
				<th data-options="field:'projectId',resizable:true" hidden="true">工程标识</th>
				<th data-options="field:'objectId',resizable:true" hidden="true">模型对象标识</th>
				<th data-options="field:'logContent',resizable:true" width="30%">日志内容</th>
				<th data-options="field:'remarks',resizable:true" width="30%">备注</th>
			</tr>
		</thead>
	</table>
</div>
<div id="exportMenu" style="width:150px;">
		<div>导出为Word文档</div>
		<div>导出为PDF文档</div>
		<div>导出为Excel文档</div>
		<div>导出为HTML文档</div>
</div>
</body>
</html>
<script>

	$(function() {
		
	});
</script>
